<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class UnqualifiedCase extends AppModel
{
    //

    const UNQALIFIED_ONE = 1;   //审批不合格
    const UNQALIFIED_TWO = 2; //重新复查提交


    const UN_AUDIT_ONE = 1; //审核不合格
    const UN_AUDIT_TWO = 2; //审核反弹
    const UN_AUDIT_THREE = 3; //审核未整改


    public function unadmin(){
        return $this->belongsTo(Admin::class,'audit_people')->field('id,username');
    }

}
